package com.sy.dto;

import com.sy.entity.ChoiceQuestion;
import com.sy.entity.Homework;
import com.sy.entity.ShortQuestion;

import java.util.List;

public class HomeworkView {
    private Homework homework;
    private ShortQuestion shortQuestion;

    public ShortQuestion getShortQuestion() {
        return shortQuestion;
    }

    public void setShortQuestion(ShortQuestion shortQuestion) {
        this.shortQuestion = shortQuestion;
    }

    private List<ChoiceQuestion> questions;

    public Homework getHomework() {
        return homework;
    }

    public void setHomework(Homework homework) {
        this.homework = homework;
    }

    public List<ChoiceQuestion> getQuestions() {
        return questions;
    }

    public void setQuestions(List<ChoiceQuestion> questions) {
        this.questions = questions;
    }

    @Override
    public String toString() {
        return "HomeworkView{" +
                "homework=" + homework +
                ", shortQuestion=" + shortQuestion +
                ", questions=" + questions +
                '}';
    }
}
